'use strict';
const db = uniCloud.database();
exports.main = async (event, context) => {
	const { account } = event
	const res = db.collection('user_info').where({
		account: account
	}).get()
	
	//返回数据给客户端
	return res
};
